package com.zxx.pattern.mediatorPattern.mediator2;

/**
 * 抽象同事对象(持有抽象中介者)
 *
 * @author zxx on 2021/5/11
 */
public abstract class Person {

    protected String name;
    protected Mediator mediator;

    public Person(String name, Mediator mediator) {
        this.name = name;
        this.mediator = mediator;
    }
}
